package com.apps.sannotation.constraints;


import java.lang.annotation.*;

/**
 * 校验字符串是不是数字
 */
@Target({ElementType.PARAMETER,ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface StrIsNumber {

    String errMsg() default "只能是数字";

}
